using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DataLayer.Model
{
    public partial class SetTopBox
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [MaxLength(50)]
        public string SerialNumber { get; set; }

        [Required]
        public virtual Administrator IdAdministrator { get; set; }

        public string MAC { get; set; }

        public virtual ICollection<Player> PlayerSetTopBoxes { get; set; }

        public SetTopBox()
        {
            this.PlayerSetTopBoxes = new List<Player>();
        }
    }
}
